<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("sys:nideshopaddress:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("sys:nideshopaddress:save")>
            <a class="btn btn-primary" @click="addall"><i class="fa fa-plus"></i>&nbsp;批量导入</a>
			</#if>
			<#if shiro.hasPermission("sys:nideshopaddress:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("sys:nideshopaddress:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
			<#if shiro.hasPermission("sys:nideshopaddress:delete")>
            <a class="btn btn-primary" @click="daochu"><i class="fa fa-pencil-square-o"></i>&nbsp;导出报表</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">会员ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.userId" placeholder="会员ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收货人姓名</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.userName" placeholder="收货人姓名"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">手机</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.telNumber" placeholder="手机"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">邮编</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.postalCode" placeholder="邮编"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收货地址国家码</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.nationalCode" placeholder="收货地址国家码"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">省</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.provinceName" placeholder="省"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">市</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.cityName" placeholder="市"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">区</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.countyName" placeholder="区"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">详细收货地址信息</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.detailInfo" placeholder="详细收货地址信息"/>
                        </div>
                    </div>
											                    
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">身份证正面照片</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.idNozimg" placeholder="身份证正面照片"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">身份证反面</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.idNofimg" placeholder="身份证反面"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">驾驶证正面照片</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.jszzimg" placeholder="驾驶证正面照片"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">驾驶证反面图片</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.jszfimg" placeholder="驾驶证反面图片"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">车子正面照片</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.czimg" placeholder="车子正面照片"/>
                        </div>
                    </div>
                   <!--  <div class="form-group">
                        <div class="col-sm-2 control-label">审批状态</div>
                        <div class="col-sm-10">
                         <select>
                               
                         </select>
                            <input type="text" class="form-control" v-model="nideshopAddress.isDefault" placeholder=""/>
                        </div>
                    </div> -->
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">审批结果</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nideshopAddress.jjyy" placeholder="审批结果"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..." @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/nideshopaddress.js?_${.now?long}"></script>
</body>
</html>